package com.homer.iot.esptouch.model;

import com.homer.iot.esptouch.tcp.UartTCPUtil;

public class Relay  extends Slaver{
	public Relay(String id, String type) {
		super(id, type);		
	}
	
	public boolean controlRelay(byte action){
		return UartTCPUtil.controlRelay(device.getDeviceIP(), action);
	}
}